import type { CSSProperties } from 'vue';
import type { IShapeProps } from '../../../types/IShape';

// eslint-disable-next-line import/prefer-default-export
export const rectStyle = (item: IShapeProps): CSSProperties => {
  return {
    backgroundColor: item.bgcolor,
  };
};
